package c.e.a.a.e.b;

import java.io.IOException;

public final class b implements c.e.b.i.h.a {
    public static final c.e.b.i.h.a a = new b();

    public static final class a implements c.e.b.i.d<a> {
        public static final a a = new a();

        public void a(Object obj, Object obj2) throws IOException {
            a aVar = (a) obj;
            c.e.b.i.e eVar = (c.e.b.i.e) obj2;
            eVar.f("sdkVersion", aVar.h());
            eVar.f("model", aVar.e());
            eVar.f("hardware", aVar.c());
            eVar.f("device", aVar.a());
            eVar.f("product", aVar.g());
            eVar.f("osBuild", aVar.f());
            eVar.f("manufacturer", aVar.d());
            eVar.f("fingerprint", aVar.b());
        }
    }

    public static final class b implements c.e.b.i.d<j> {
        public static final b a = new b();

        public void a(Object obj, Object obj2) throws IOException {
            ((c.e.b.i.e) obj2).f("logRequest", ((j) obj).a());
        }
    }

    public static final class c implements c.e.b.i.d<k> {
        public static final c a = new c();

        public void a(Object obj, Object obj2) throws IOException {
            k kVar = (k) obj;
            c.e.b.i.e eVar = (c.e.b.i.e) obj2;
            eVar.f("clientType", kVar.b());
            eVar.f("androidClientInfo", kVar.a());
        }
    }

    public static final class d implements c.e.b.i.d<l> {
        public static final d a = new d();

        public void a(Object obj, Object obj2) throws IOException {
            l lVar = (l) obj;
            c.e.b.i.e eVar = (c.e.b.i.e) obj2;
            eVar.b("eventTimeMs", lVar.b());
            eVar.f("eventCode", lVar.a());
            eVar.b("eventUptimeMs", lVar.c());
            eVar.f("sourceExtension", lVar.e());
            eVar.f("sourceExtensionJsonProto3", lVar.f());
            eVar.b("timezoneOffsetSeconds", lVar.g());
            eVar.f("networkConnectionInfo", lVar.d());
        }
    }

    public static final class e implements c.e.b.i.d<m> {
        public static final e a = new e();

        public void a(Object obj, Object obj2) throws IOException {
            m mVar = (m) obj;
            c.e.b.i.e eVar = (c.e.b.i.e) obj2;
            eVar.b("requestTimeMs", mVar.f());
            eVar.b("requestUptimeMs", mVar.g());
            eVar.f("clientInfo", mVar.a());
            eVar.f("logSource", mVar.c());
            eVar.f("logSourceName", mVar.d());
            eVar.f("logEvent", mVar.b());
            eVar.f("qosTier", mVar.e());
        }
    }

    public static final class f implements c.e.b.i.d<o> {
        public static final f a = new f();

        public void a(Object obj, Object obj2) throws IOException {
            o oVar = (o) obj;
            c.e.b.i.e eVar = (c.e.b.i.e) obj2;
            eVar.f("networkType", oVar.b());
            eVar.f("mobileSubtype", oVar.a());
        }
    }

    public void a(c.e.b.i.h.b<?> bVar) {
        b bVar2 = b.a;
        Class cls = j.class;
        c.e.b.i.i.e eVar = (c.e.b.i.i.e) bVar;
        eVar.a.put(cls, bVar2);
        eVar.b.remove(cls);
        cls = d.class;
        eVar.a.put(cls, bVar2);
        eVar.b.remove(cls);
        e eVar2 = e.a;
        cls = m.class;
        eVar.a.put(cls, eVar2);
        eVar.b.remove(cls);
        cls = g.class;
        eVar.a.put(cls, eVar2);
        eVar.b.remove(cls);
        c cVar = c.a;
        cls = k.class;
        eVar.a.put(cls, cVar);
        eVar.b.remove(cls);
        cls = e.class;
        eVar.a.put(cls, cVar);
        eVar.b.remove(cls);
        a aVar = a.a;
        cls = a.class;
        eVar.a.put(cls, aVar);
        eVar.b.remove(cls);
        cls = c.class;
        eVar.a.put(cls, aVar);
        eVar.b.remove(cls);
        d dVar = d.a;
        cls = l.class;
        eVar.a.put(cls, dVar);
        eVar.b.remove(cls);
        cls = f.class;
        eVar.a.put(cls, dVar);
        eVar.b.remove(cls);
        f fVar = f.a;
        cls = o.class;
        eVar.a.put(cls, fVar);
        eVar.b.remove(cls);
        cls = i.class;
        eVar.a.put(cls, fVar);
        eVar.b.remove(cls);
    }
}
